#include <iostream>
using namespace std;
/**
 * 
 */
int main() {
  double d;
  cin >> d;
  long long dd = (long long)d;
  cout << dd << endl;
  return 0;
}